<?php

class ZendBlog_Filter_HtmlComment extends ZendBlog_Filter_HTMLPurifier {

    public function __construct() {
        $key = 'HTML.Allowed';
        $value = 'p,em,strong,a[href],ul,ol,li,code,pre,blockquote';
        parent::__construct($key, $value);
    }

    public static function getLabel() {
        return '<ul class="note"><li>Web page addresses and e-mail addresses turn into links automatically</li>'
        . '<li>Allowed HTML tags: &lt;p&gt; &lt;em&gt; '
        . '&lt;ul&gt; &lt;ol&gt; &lt;li&gt; &lt;code&gt; &lt;pre&gt; &lt;blockquote&gt;</li>'
        . '<li>Lines and paragraphs break automatically.</li></ul>';
    }

}